<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <form action="https://www.baidu.com">
      <input
        type="text"
        name=""
        id=""
        value="123"
        placeholder="请输入密码"
        maxlength="5"
      />

      <input type="number" name="" id="" max="3" />

      <select name="" id="">
        <option value="1">1</option>
        <option value="2">2</option>
        <option value="3" selected>3</option>
      </select>

      <input type="search" name="demo" id="demo" list="data" />
      <datalist id="data">
        <option value="1">1</option>
        <option value="11">11</option>
        <option value="111">111</option>
        <option value="2">2</option>
        <option value="3">3</option>
      </datalist>

      <input type="reset" value="重置" />
      <input type="button" value="按钮" />
      <input type="submit" value="提交" />

      <button>在form元素中，默认: submit</button>
      <button type="submit">提交</button>
      <button type="reset">重置</button>
      <button type="button">按钮</button>
    </form>
  </body>
</html>
